package java929;

public class StuShow {
    String name;
    int id;
    char sex;
    int age;

    public void intruduce() {

        System.out.println("我叫:" + name + "\n性别：" + sex + "\n年龄：" + age + "\n学号是：" + id);

    }

    public static void main(String[] args) {

        StuShow s = new StuShow();
        s.age = 18;
        s.id = 150440139;
        s.name = "于童";
        s.sex='男';
        s.intruduce();
    }
}
